<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index stored in shared memory using Boost.Interprocess</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Geometry">
<link rel="up" href="../rtree_examples.html" title="Examples">
<link rel="prev" href="iterative_query.html" title="Iterative query">
<link rel="next" href="index_stored_in_mapped_file_using_boost_interprocess.html" title="Index stored in mapped file using Boost.Interprocess">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="iterative_query.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../rtree_examples.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="index_stored_in_mapped_file_using_boost_interprocess.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="geometry.spatial_indexes.rtree_examples.index_stored_in_shared_memory_using_boost_interprocess"></a><a class="link" href="index_stored_in_shared_memory_using_boost_interprocess.html" title="Index stored in shared memory using Boost.Interprocess">Index
        stored in shared memory using Boost.Interprocess</a>
</h4></div></div></div>
<p>
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">geometries</span><span class="special">/</span><span class="identifier">point</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">geometries</span><span class="special">/</span><span class="identifier">box</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">index</span><span class="special">/</span><span class="identifier">rtree</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">foreach</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">managed_shared_memory</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">allocators</span><span class="special">/</span><span class="identifier">allocator</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">vector</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">string</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cstdlib</span><span class="special">&gt;</span> <span class="comment">//std::system</span>

<span class="comment">//For parent process argc == 1, for child process argc &gt; 1</span>
<span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">*</span><span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
    <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">interprocess</span><span class="special">;</span>
    <span class="keyword">namespace</span> <span class="identifier">bg</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">;</span>
    <span class="keyword">namespace</span> <span class="identifier">bgm</span> <span class="special">=</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">model</span><span class="special">;</span>
    <span class="keyword">namespace</span> <span class="identifier">bgi</span> <span class="special">=</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">index</span><span class="special">;</span>

    <span class="keyword">typedef</span> <span class="identifier">bgm</span><span class="special">::</span><span class="identifier">point</span><span class="special">&lt;</span><span class="keyword">float</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">cs</span><span class="special">::</span><span class="identifier">cartesian</span><span class="special">&gt;</span> <span class="identifier">P</span><span class="special">;</span>
    <span class="keyword">typedef</span> <span class="identifier">bgm</span><span class="special">::</span><span class="identifier">box</span><span class="special">&lt;</span><span class="identifier">P</span><span class="special">&gt;</span> <span class="identifier">B</span><span class="special">;</span>

    <span class="keyword">typedef</span> <span class="identifier">bgi</span><span class="special">::</span><span class="identifier">linear</span><span class="special">&lt;</span><span class="number">32</span><span class="special">,</span> <span class="number">8</span><span class="special">&gt;</span> <span class="identifier">Par</span><span class="special">;</span>
    <span class="keyword">typedef</span> <span class="identifier">bgi</span><span class="special">::</span><span class="identifier">indexable</span><span class="special">&lt;</span><span class="identifier">B</span><span class="special">&gt;</span> <span class="identifier">I</span><span class="special">;</span>
    <span class="keyword">typedef</span> <span class="identifier">bgi</span><span class="special">::</span><span class="identifier">equal_to</span><span class="special">&lt;</span><span class="identifier">B</span><span class="special">&gt;</span> <span class="identifier">E</span><span class="special">;</span>
    <span class="keyword">typedef</span> <span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">B</span><span class="special">,</span> <span class="identifier">managed_shared_memory</span><span class="special">::</span><span class="identifier">segment_manager</span><span class="special">&gt;</span> <span class="identifier">Alloc</span><span class="special">;</span>
    <span class="keyword">typedef</span> <span class="identifier">bgi</span><span class="special">::</span><span class="identifier">rtree</span><span class="special">&lt;</span><span class="identifier">B</span><span class="special">,</span> <span class="identifier">Par</span><span class="special">,</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">E</span><span class="special">,</span> <span class="identifier">Alloc</span><span class="special">&gt;</span> <span class="identifier">Rtree</span><span class="special">;</span>

    <span class="comment">//Parent process</span>
    <span class="keyword">if</span> <span class="special">(</span> <span class="identifier">argc</span> <span class="special">==</span> <span class="number">1</span> <span class="special">)</span>
    <span class="special">{</span>
        <span class="keyword">struct</span> <span class="identifier">shm_remove</span>
        <span class="special">{</span>
            <span class="identifier">shm_remove</span><span class="special">()</span> <span class="special">{</span> <span class="identifier">shared_memory_object</span><span class="special">::</span><span class="identifier">remove</span><span class="special">(</span><span class="string">"MySharedMemory"</span><span class="special">);</span> <span class="special">}</span>
            <span class="special">~</span><span class="identifier">shm_remove</span><span class="special">(){</span> <span class="identifier">shared_memory_object</span><span class="special">::</span><span class="identifier">remove</span><span class="special">(</span><span class="string">"MySharedMemory"</span><span class="special">);</span> <span class="special">}</span>
        <span class="special">}</span> <span class="identifier">remover</span><span class="special">;</span>

        <span class="identifier">managed_shared_memory</span> <span class="identifier">segment</span><span class="special">(</span><span class="identifier">create_only</span><span class="special">,</span> <span class="string">"MySharedMemory"</span><span class="special">,</span> <span class="number">65536</span><span class="special">);</span>

        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Parent: Constructing container\n"</span><span class="special">;</span>

        <span class="identifier">Rtree</span> <span class="special">*</span> <span class="identifier">tree</span> <span class="special">=</span> <span class="identifier">segment</span><span class="special">.</span><span class="identifier">construct</span><span class="special">&lt;</span><span class="identifier">Rtree</span><span class="special">&gt;(</span><span class="string">"Rtree"</span><span class="special">)(</span><span class="identifier">Par</span><span class="special">(),</span> <span class="identifier">I</span><span class="special">(),</span> <span class="identifier">E</span><span class="special">(),</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="identifier">segment</span><span class="special">.</span><span class="identifier">get_segment_manager</span><span class="special">()));</span>

        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Parent: Filling container with 100 boxes\n"</span><span class="special">;</span>

        <span class="keyword">for</span> <span class="special">(</span> <span class="keyword">float</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span> <span class="special">;</span> <span class="identifier">i</span> <span class="special">&lt;</span> <span class="number">100</span> <span class="special">;</span> <span class="identifier">i</span> <span class="special">+=</span> <span class="number">1</span> <span class="special">)</span>
            <span class="identifier">tree</span><span class="special">-&gt;</span><span class="identifier">insert</span><span class="special">(</span><span class="identifier">B</span><span class="special">(</span><span class="identifier">P</span><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">i</span><span class="special">),</span> <span class="identifier">P</span><span class="special">(</span><span class="identifier">i</span><span class="special">+</span><span class="number">0.5f</span><span class="special">,</span> <span class="identifier">i</span><span class="special">+</span><span class="number">0.5f</span><span class="special">)));</span>

        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Parent: Tree content\n"</span><span class="special">;</span>
        <span class="identifier">Rtree</span><span class="special">::</span><span class="identifier">bounds_type</span> <span class="identifier">bb</span> <span class="special">=</span> <span class="identifier">tree</span><span class="special">-&gt;</span><span class="identifier">bounds</span><span class="special">();</span>
        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"[("</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">bb</span><span class="special">.</span><span class="identifier">min_corner</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="string">", "</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">bb</span><span class="special">.</span><span class="identifier">min_corner</span><span class="special">())</span>
                  <span class="special">&lt;&lt;</span> <span class="string">")("</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">bb</span><span class="special">.</span><span class="identifier">max_corner</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="string">", "</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">bb</span><span class="special">.</span><span class="identifier">max_corner</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="string">")]\n"</span><span class="special">;</span>

        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Parent: Running child process\n"</span><span class="special">;</span>

        <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">s</span><span class="special">(</span><span class="identifier">argv</span><span class="special">[</span><span class="number">0</span><span class="special">]);</span> <span class="identifier">s</span> <span class="special">+=</span> <span class="string">" child "</span><span class="special">;</span>
        <span class="keyword">if</span> <span class="special">(</span> <span class="number">0</span> <span class="special">!=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">system</span><span class="special">(</span><span class="identifier">s</span><span class="special">.</span><span class="identifier">c_str</span><span class="special">())</span> <span class="special">)</span>
            <span class="keyword">return</span> <span class="number">1</span><span class="special">;</span>

        <span class="keyword">if</span> <span class="special">(</span> <span class="identifier">segment</span><span class="special">.</span><span class="identifier">find</span><span class="special">&lt;</span><span class="identifier">Rtree</span><span class="special">&gt;(</span><span class="string">"Rtree"</span><span class="special">).</span><span class="identifier">first</span> <span class="special">)</span>
            <span class="keyword">return</span> <span class="number">1</span><span class="special">;</span>

        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Parent: Container was properly destroyed by the child process\n"</span><span class="special">;</span>
   <span class="special">}</span>
   <span class="comment">//Child process</span>
   <span class="keyword">else</span>
   <span class="special">{</span>
      <span class="identifier">managed_shared_memory</span> <span class="identifier">segment</span><span class="special">(</span><span class="identifier">open_only</span><span class="special">,</span> <span class="string">"MySharedMemory"</span><span class="special">);</span>

      <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Child: Searching of the container in shared memory\n"</span><span class="special">;</span>

      <span class="identifier">Rtree</span> <span class="special">*</span> <span class="identifier">tree</span> <span class="special">=</span> <span class="identifier">segment</span><span class="special">.</span><span class="identifier">find</span><span class="special">&lt;</span><span class="identifier">Rtree</span><span class="special">&gt;(</span><span class="string">"Rtree"</span><span class="special">).</span><span class="identifier">first</span><span class="special">;</span>

      <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Child: Querying for objects intersecting box = [(45, 45)(55, 55)]\n"</span><span class="special">;</span>

      <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">B</span><span class="special">&gt;</span> <span class="identifier">result</span><span class="special">;</span>
      <span class="keyword">unsigned</span> <span class="identifier">k</span> <span class="special">=</span> <span class="identifier">tree</span><span class="special">-&gt;</span><span class="identifier">query</span><span class="special">(</span><span class="identifier">bgi</span><span class="special">::</span><span class="identifier">intersects</span><span class="special">(</span><span class="identifier">B</span><span class="special">(</span><span class="identifier">P</span><span class="special">(</span><span class="number">45</span><span class="special">,</span> <span class="number">45</span><span class="special">),</span> <span class="identifier">P</span><span class="special">(</span><span class="number">55</span><span class="special">,</span> <span class="number">55</span><span class="special">))),</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_inserter</span><span class="special">(</span><span class="identifier">result</span><span class="special">));</span>

      <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Child: Found objects:\n"</span><span class="special">;</span>
      <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">k</span> <span class="special">&lt;&lt;</span> <span class="string">"\n"</span><span class="special">;</span>
      <span class="identifier">BOOST_FOREACH</span><span class="special">(</span><span class="identifier">B</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">b</span><span class="special">,</span> <span class="identifier">result</span><span class="special">)</span>
      <span class="special">{</span>
        <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"[("</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">b</span><span class="special">.</span><span class="identifier">min_corner</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="string">", "</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">b</span><span class="special">.</span><span class="identifier">min_corner</span><span class="special">())</span>
                  <span class="special">&lt;&lt;</span> <span class="string">")("</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">b</span><span class="special">.</span><span class="identifier">max_corner</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="string">", "</span> <span class="special">&lt;&lt;</span> <span class="identifier">bg</span><span class="special">::</span><span class="identifier">get</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">b</span><span class="special">.</span><span class="identifier">max_corner</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="string">")]\n"</span><span class="special">;</span>
      <span class="special">}</span>
      <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"\n"</span><span class="special">;</span>

      <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Child: Destroying container\n"</span><span class="special">;</span>

      <span class="identifier">segment</span><span class="special">.</span><span class="identifier">destroy</span><span class="special">&lt;</span><span class="identifier">Rtree</span><span class="special">&gt;(</span><span class="string">"Rtree"</span><span class="special">);</span>
   <span class="special">}</span>

   <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">};</span>
</pre>
<p>
        </p>
<h5>
<a name="geometry.spatial_indexes.rtree_examples.index_stored_in_shared_memory_using_boost_interprocess.h0"></a>
          <span class="phrase"><a name="geometry.spatial_indexes.rtree_examples.index_stored_in_shared_memory_using_boost_interprocess.expected_results"></a></span><a class="link" href="index_stored_in_shared_memory_using_boost_interprocess.html#geometry.spatial_indexes.rtree_examples.index_stored_in_shared_memory_using_boost_interprocess.expected_results">Expected
          results</a>
        </h5>
<pre class="programlisting"><span class="identifier">Parent</span><span class="special">:</span> <span class="identifier">Constructing</span> <span class="identifier">container</span>
<span class="identifier">Parent</span><span class="special">:</span> <span class="identifier">Filling</span> <span class="identifier">container</span> <span class="identifier">with</span> <span class="number">100</span> <span class="identifier">boxes</span>
<span class="identifier">Parent</span><span class="special">:</span> <span class="identifier">Tree</span> <span class="identifier">content</span>
<span class="special">[(</span><span class="number">0</span><span class="special">,</span> <span class="number">0</span><span class="special">)(</span><span class="number">99.5</span><span class="special">,</span> <span class="number">99.5</span><span class="special">)]</span>
<span class="identifier">Parent</span><span class="special">:</span> <span class="identifier">Running</span> <span class="identifier">child</span> <span class="identifier">process</span>
<span class="identifier">Child</span><span class="special">:</span> <span class="identifier">Searching</span> <span class="identifier">of</span> <span class="identifier">the</span> <span class="identifier">container</span> <span class="identifier">in</span> <span class="identifier">shared</span> <span class="identifier">memory</span>
<span class="identifier">Child</span><span class="special">:</span> <span class="identifier">Querying</span> <span class="keyword">for</span> <span class="identifier">objects</span> <span class="identifier">intersecting</span> <span class="identifier">box</span> <span class="special">=</span> <span class="special">[(</span><span class="number">45</span><span class="special">,</span> <span class="number">45</span><span class="special">)(</span><span class="number">55</span><span class="special">,</span> <span class="number">55</span><span class="special">)]</span>
<span class="identifier">Child</span><span class="special">:</span> <span class="identifier">Found</span> <span class="identifier">objects</span><span class="special">:</span>
<span class="number">11</span>
<span class="special">[(</span><span class="number">45</span><span class="special">,</span> <span class="number">45</span><span class="special">)(</span><span class="number">45.5</span><span class="special">,</span> <span class="number">45.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">46</span><span class="special">,</span> <span class="number">46</span><span class="special">)(</span><span class="number">46.5</span><span class="special">,</span> <span class="number">46.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">47</span><span class="special">,</span> <span class="number">47</span><span class="special">)(</span><span class="number">47.5</span><span class="special">,</span> <span class="number">47.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">48</span><span class="special">,</span> <span class="number">48</span><span class="special">)(</span><span class="number">48.5</span><span class="special">,</span> <span class="number">48.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">49</span><span class="special">,</span> <span class="number">49</span><span class="special">)(</span><span class="number">49.5</span><span class="special">,</span> <span class="number">49.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">50</span><span class="special">,</span> <span class="number">50</span><span class="special">)(</span><span class="number">50.5</span><span class="special">,</span> <span class="number">50.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">51</span><span class="special">,</span> <span class="number">51</span><span class="special">)(</span><span class="number">51.5</span><span class="special">,</span> <span class="number">51.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">52</span><span class="special">,</span> <span class="number">52</span><span class="special">)(</span><span class="number">52.5</span><span class="special">,</span> <span class="number">52.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">53</span><span class="special">,</span> <span class="number">53</span><span class="special">)(</span><span class="number">53.5</span><span class="special">,</span> <span class="number">53.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">54</span><span class="special">,</span> <span class="number">54</span><span class="special">)(</span><span class="number">54.5</span><span class="special">,</span> <span class="number">54.5</span><span class="special">)]</span>
<span class="special">[(</span><span class="number">55</span><span class="special">,</span> <span class="number">55</span><span class="special">)(</span><span class="number">55.5</span><span class="special">,</span> <span class="number">55.5</span><span class="special">)]</span>

<span class="identifier">Child</span><span class="special">:</span> <span class="identifier">Destroying</span> <span class="identifier">container</span>
<span class="identifier">Parent</span><span class="special">:</span> <span class="identifier">Container</span> <span class="identifier">was</span> <span class="identifier">properly</span> <span class="identifier">destroyed</span> <span class="identifier">by</span> <span class="identifier">the</span> <span class="identifier">child</span> <span class="identifier">process</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2009-2021 Barend Gehrels,
      Bruno Lalande, Mateusz Loskot, Adam Wulkiewicz, Oracle and/or its affiliates<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="iterative_query.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../rtree_examples.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="index_stored_in_mapped_file_using_boost_interprocess.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
